
from pydantic import Field
from pydantic_settings import BaseSettings
from pathlib import Path


class Settings(BaseSettings):

    # 大模型配置
    LLM_URI : str = Field(default='', description='大模型URL')
    LLM_MODEL: str = Field(default='', description='大模型名称')
    LLM_API_KEY: str = '123456'

    class Config:
        env_file = Path(__file__).parent.parent/ '.env'
        env_file_encoding = 'utf-8'
